package com.qfedu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 概述:
 *
 * @Author: Tbh
 * @Date: 2022/6/20 10:54
 */

@Data
@TableName("tb_user")
@AllArgsConstructor
@NoArgsConstructor
public class User {
    @TableId(value = "ID",type = IdType.AUTO)
    private Long id;
    @TableField("USER_NAME")
    private String userName;
    private String password;
    private String name;
    private Integer age;
    private String email;
}